package com.systemframework.sys.dto.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author summer
 * @date 2023-03-07 11:44
 */
@Data
public class SysUserResponseDTO implements Serializable {

    private Integer id;

    private String name;

    private String username;

    private String roleName;

    private String state;

    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss",timezone ="GMT+8")
    private Date createTime;

    private String email;

    private String phone;

    private String sex;

    private String avatar;

    private List<String> roleLists;

    private List<Integer>  roleIds;

    private List<String> permissionLists;


}
